@mixin tooltip {
  .tooltip {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;

    &.fade {
      opacity: 0;
    }

    &.show {
      opacity: 1;
    }
  }

  .tooltip-inner {
    background-color: $anthias-yellow-3;
    color: $anthias-purple-1;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .tooltip {
    &.bs-tooltip-top .tooltip-arrow::before {
      border-top-color: $anthias-yellow-3;
    }

    &.bs-tooltip-bottom .tooltip-arrow::before {
      border-bottom-color: $anthias-yellow-3;
    }

    &.bs-tooltip-start .tooltip-arrow::before {
      border-left-color: $anthias-yellow-3;
    }

    &.bs-tooltip-end .tooltip-arrow::before {
      border-right-color: $anthias-yellow-3;
    }
  }
}
